package com.wkbb.basic.mapper;

import com.wkbb.basic.model.DeviceType;
import com.wkbb.basic.vo.DeviceTypeManageVo;
import com.wkbb.common.base.BaseMapper;

import java.util.Map;

public interface DeviceTypeMapper extends BaseMapper<DeviceType> {

    DeviceTypeManageVo getDeviceTypeManageVo(Long id);

    /**
     * 检查学校是否有晨检机
     * @param params 学校ID
     * @return 晨检机数量
     */
    int getMorningCheckFlag(Map<String,Object> params);
}